﻿using System;

namespace MediaAssistant.DAL
{
    public partial class ProfileMovie
    {
        public bool IsNewMovie()
        {
            return Unread;
        }

        public bool IsRecentlyPlayedMovie()
        {
            return LastPlayed.HasValue && (DateTime.Now - LastPlayed.Value).TotalDays < 30;
        }
    }
}
